package com.traxex.util;

import java.io.UnsupportedEncodingException;
import java.net.URLDecoder;

public class ResourceUtil {
	public static String getString(String key){
		return java.util.ResourceBundle.getBundle("app").getString(key);
	}
	public static String getClassRoot() throws UnsupportedEncodingException{
		return URLDecoder.decode(ResourceUtil.class.getResource("/").getPath().toString(),"utf-8");
	}
}
